package com.xiaoshuidi.cloud.module.finance.mq.producer;

import com.xiaoshuidi.cloud.framework.mq.core.bus.AbstractBusProducer;
import com.xiaoshuidi.cloud.module.finance.mq.message.PayChannelRefreshMessage;
import org.springframework.stereotype.Component;

@Component
public class PayChannelProducer extends AbstractBusProducer {

    public void sendPayChannelRefreshMessage() {
        publishEvent(new PayChannelRefreshMessage(this, getBusId(), selfDestinationService()));
    }
}
